package com.chengshi.shop.service.express.impl;

import com.chengshi.shop.dao.system.ExpressMapper;
import com.chengshi.shop.model.system.Express;
import com.chengshi.shop.service.express.ExpressService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 物流相关接口
 * @author xuxinlong
 * @version 2017年10月21日
 */
@Service
public class ExpressServiceImpl implements ExpressService {
    @Resource
    private ExpressMapper expressMapper;

    /**
     * 获取物流公司列表
     *
     * @return
     */
    @Override
    public List<Express> getExpressList() {
        return expressMapper.getList();
    }
}
